package com.nanhai.buddhist.college.module.collegebase.controller.admin.accommodationreside.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nanhai.buddhist.college.framework.excel.core.annotations.DictFormat;
import com.nanhai.buddhist.college.framework.excel.core.convert.DictConvert;


/**
 * 入住记录 Excel VO
 *
 * @author 南海佛学院
 */
@Data
public class AccommodationResideExcelVO {

    @ExcelProperty("主键id")
    private String id;

    @ExcelProperty("入住人id")
    private String resideId;

    @ExcelProperty(value = "入住角色（角色+id 联合确立关系）", converter = DictConvert.class)
    @DictFormat("accommodation_room_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer role;

    @ExcelProperty("入住人昵称")
    private String resideName;

    @ExcelProperty("入住备注")
    private String resideRemark;

    @ExcelProperty("床铺id")
    private String bedId;

    @ExcelProperty("学院id")
    private String collegeId;

    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty("备注")
    private String remark;

}
